﻿<%@ Page Language="c#" ContentType="text/html" ResponseEncoding="utf-8" Async="true" MasterPageFile="~/administration/list_private.master" Inherits="ACM.cmsarea08.Administration.Core.GesModuli" %>
<%@ MasterType VirtualPath="~/administration/master_private.master" %>
<asp:Content ID="PageBody" Runat="server" ContentPlaceHolderID="MasterBody">
<h1><img src="../template/admimg/mod_big.jpg" alt="Modules Manager" />Gestione Moduli</h1>


<ptl:Itan_DataGrid id="insModules" ShowFooter="true" runat="Server" Title="no title" ShowTitle="true" autogeneratecolumns="false" ExtendedPager="true" PageNum="10" CurrentPage="1" SelectColumn="true" SelectColumnField="id" CheckingColumn="false" EOrdinabile="true" CssClass="DGridClass"  JavascriptSort="false"  >
<alternatingitemstyle BackColor="#e1e1e1"></alternatingitemstyle>
<columns>
<asp:BoundColumn DataField="id" Visible="false" ></asp:BoundColumn>
	<asp:TemplateColumn>
    	<headertemplate><%# rm.GetString("module") %></headertemplate>
    	<itemtemplate>
        <%# (Eval("lockid")!=null && Eval("lockid").ToString()!="-1")?"<a class=\"jmscmd\"><img border=\"0\" class=\"jmslock1_sm\" src=\"../template/img/spacer.gif\" alt=\"" + rm.GetString("lockedby") +" "+ Eval("lockedby").ToString() + "\" title=\"" + rm.GetString("lockedby") +" "+ Eval("lockedby").ToString() + "\" /></a>":"" %>
        	<a href="edit_modulo.aspx?IDM=<%# Eval("id") %>&amp;SNM=<%# Eval("componente") %>" title="<%# rm.GetString("edit_module") %>">
			<%# Eval("titolo") + (Eval("tradotto_daNOME").ToString()==""?"":("<br/><span class=\"suggest\">" + rm.GetString("trans_of") + " <strong>" + Eval("tradotto_daNOME") + "</strong></span>")) %></a>
            
			
        </itemtemplate>
    </asp:TemplateColumn>
    <asp:TemplateColumn>
    	<headertemplate><%# rm.GetString("lang") %></headertemplate>
    	<itemtemplate>
        	<%# Eval("lingua") %>
        </itemtemplate>
    </asp:TemplateColumn> 
	<asp:TemplateColumn ItemStyle-Width="30">
    <headertemplate><acronym title="<%# rm.GetString("enabled_disabled") %>">this On/Off</acronym></headertemplate>
    	<itemtemplate>
        	<asp:LinkButton id="enable_me" CssClass="jmscmd" runat="server"></asp:LinkButton>
        </itemtemplate>
    </asp:TemplateColumn>    
	<asp:TemplateColumn >
    	<headertemplate><%# rm.GetString("component") %></headertemplate>
    	<itemtemplate>
        	<%# Eval("componente") %>
        </itemtemplate>
    </asp:TemplateColumn>
	<asp:TemplateColumn >
    	<headertemplate><%# rm.GetString("protected") %>Protetto</headertemplate>
    	<itemtemplate>
        	<a class="jmscmd"><img class="jmslock<%# Eval("protected") %>_sm" src="../template/img/spacer.gif"  />
        </itemtemplate>
    </asp:TemplateColumn>  
	<asp:TemplateColumn >
    	<headertemplate><%# rm.GetString("readonlysf") %></headertemplate>
    	<itemtemplate>
        	<img src="../template/img/readonly_<%# Eval("readonlysf") %>.gif"  />
        </itemtemplate>
    </asp:TemplateColumn>       
	<asp:TemplateColumn>
    	<headertemplate><%# rm.GetString("last_edit") %></headertemplate>
    	<itemtemplate>
        	<%# Eval("data_mod") %>
        </itemtemplate>
    </asp:TemplateColumn>         
	<asp:TemplateColumn>
    	<headertemplate><%# rm.GetString("viewing_block") %></headertemplate>
    	<itemtemplate>
        	<%# Eval("bloccovisivo") %>
        </itemtemplate>
    </asp:TemplateColumn>    
</columns>
</ptl:itan_datagrid>



</asp:content>